package com.hcc.unitTest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 店铺排班表
 * </p>
 *
 * @author admin
 * @since 2023-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_schedule_info")
public class ShopScheduleInfo extends Model<ShopScheduleInfo> {


    /**
     * 排班id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 店铺id
     */
    @TableField("shop_id")
    private Long shopId;

    /**
     * 店铺名称
     */
    @TableField("shop_name")
    private String shopName;

    /**
     * 主播昵称
     */
    @TableField("anchor_nick_name")
    private String anchorNickName;

    /**
     * 直播日期
     */
    @TableField("schedule_date")
    private LocalDate scheduleDate;

    /**
     * 直播开始时间
     */
    @TableField("start_time")
    private LocalDateTime startTime;

    /**
     * 直播结束时间
     */
    @TableField("end_time")
    private LocalDateTime endTime;

    /**
     * 逻辑删除 0 非 1 已删除
     */
    @TableField("logic_delete")
    private Integer logicDelete;

    @TableField("modifier")
    private Long modifier;

    @TableField("modified_time")
    private LocalDateTime modifiedTime;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("creator")
    private Long creator;


    public static final String ID = "id";

    public static final String SHOP_ID = "shop_id";

    public static final String SHOP_NAME = "shop_name";

    public static final String ANCHOR_NICK_NAME = "anchor_nick_name";

    public static final String SCHEDULE_DATE = "schedule_date";

    public static final String START_TIME = "start_time";

    public static final String END_TIME = "end_time";

    public static final String LOGIC_DELETE = "logic_delete";

    public static final String MODIFIER = "modifier";

    public static final String MODIFIED_TIME = "modified_time";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATOR = "creator";


}
